import request from '@/utils/request'

// 查询教师详情列表
export function listJiajiaodetail(query) {
  return request({
    url: '/ziliao/jiajiaodetail/list',
    method: 'get',
    params: query
  })
}

// 查询教师详情详细
export function getJiajiaodetail(id) {
  return request({
    url: '/ziliao/jiajiaodetail/' + id,
    method: 'get'
  })
}

// 新增教师详情
export function addJiajiaodetail(data) {
  return request({
    url: '/ziliao/jiajiaodetail',
    method: 'post',
    data: data
  })
}

// 修改教师详情
export function updateJiajiaodetail(data) {
  return request({
    url: '/ziliao/jiajiaodetail',
    method: 'put',
    data: data
  })
}

// 删除教师详情
export function delJiajiaodetail(id) {
  return request({
    url: '/ziliao/jiajiaodetail/' + id,
    method: 'delete'
  })
}
